package com.ykht.proj.coupon.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

@Data
@ToString
@ApiModel(value = "分校任务vo")
public class FXRWVo {
	@ApiModelProperty("转发")
	private Long sumForward;
	@ApiModelProperty("邀请")
	private Long sumInvite;
	@ApiModelProperty("核销")
	private Long sumUse;

	@ApiModelProperty("时间")
	private List<LocalDate> dateList = new ArrayList<>();
	@ApiModelProperty("转发")
	private List<Integer> forwardList = new ArrayList<>();
	@ApiModelProperty("邀请")
	private List<Integer> inviteList = new ArrayList<>();
	@ApiModelProperty("核销")
	private List<Integer> useList = new ArrayList<>();

	@ApiModelProperty("每日统计")
	private List<InnerFXRW> list = new ArrayList<>();
	@Data
	@ToString
	public static class InnerFXRW{
		@ApiModelProperty("转发")
		private int forward;
		@ApiModelProperty("邀请")
		private int invite;
		@ApiModelProperty("核销")
		private int use;
		@ApiModelProperty("日期")
		private LocalDate date;
	}

}
